<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ page import="java.util.*"%>
<%@ page import="com.ambow.entity.*"%>
<%@page import="org.hibernate.*"%>
<%@page import="com.ambow.utils.PageResults"%>
<%@page import="com.ambow.utils.HibernateUtil"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<title>About</title>
<link href="<%=path%>/pages/css/bootstrap.css" rel="stylesheet"
	type="text/css" media="all" />
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="<%=path%>/pages/js/jquery.min.js"></script>
<!-- Custom Theme files -->
<!--theme-style-->
<link href="<%=path%>/pages/css/style.css" rel="stylesheet"
	type="text/css" media="all" />
<!--//theme-style-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords"
	content="I-wear Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template, 
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<script type="application/x-javascript">
	 addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } 
</script>
<script type="text/javascript" src="js/move-top.js"></script>
<script type="text/javascript" src="js/easing.js"></script>
<!--fonts-->
<link href='http://fonts.useso.com/css?family=Lato:100,300,400,700,900'
	rel='stylesheet' type='text/css'>
<link href='http://fonts.useso.com/css?family=Montez' rel='stylesheet'
	type='text/css'>
<!--//fonts-->
<script src="<%=path%>/pages/js/simpleCart.min.js">
	
</script>
<!-- start menu -->
<link href="<%=path%>/pages/css/memenu.css" rel="stylesheet"
	type="text/css" media="all" />
<script type="text/javascript" src="js/memenu.js"></script>
<script>
	$(document).ready(function() {
		$(".memenu").memenu();
	});
</script>
<!-- /start menu -->
<!-- Bootstrap core JavaScript
    ================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!-- js -->
<script src="<%=path%>/pages/js/bootstrap.js"></script>
<!-- js -->
<!-- <script>
	function show()
	{
		if (document.getelementbyid('test').display == "none") //展开
		{
		document.getelementbyid('test').display ="block"; (展开)
		}
		else //隐藏
		{
		document.getelementbyid('test').display ="none"; (隐藏)
		}
	} 
</script>-->
<style>
.p_show {
	display: block;
}

.p_hide {
	display: none;
}
</style>
<script language="javaScript">
	function showHideText() {
		document.getElementById("p_text").className = "p_show";
	}
</script>
</head>
<body>

	<!--header-->
	<div class="header-info">
		<div class="container">
			<div class="header-top-in">

				<ul class="support">
					<li><a href="mailto:info@example.com"><i
							class="glyphicon glyphicon-envelope"> </i>info@example.com</a></li>
					<li><span><i class="glyphicon glyphicon-earphone"
							class="tele-in"> </i>0 462 261 61 61</span></li>
				</ul>
				<ul class=" support-right">
					<%
						User user = (User) session.getAttribute("login");
						if (user != null) {
					%>
					<li><a href="pages/user.jsp"> <i
							class="glyphicon glyphicon-lock" class="tele"> </i> <%=user.getAccount()%></a></li>
					<%
						if (user.getDegree().equals("admin")) {
					%>
					<li><a href="pages/manager.jsp"> <i
							class="glyphicon glyphicon-lock" class="tele"> </i>MANAGER
					</a></li>
					<%
						}
					%>
					<li></li>
					<a href="UserServlet?status=exit"><img alt="#"
						src="<%=path%>/pages/images/exit.png"></a>
					<%
						} else {
					%>
					<li><a href="pages/account.jsp"> <i
							class="glyphicon glyphicon-lock" class="tele"> </i>LOGIN
					</a></li>
					<li><a href="pages/register.jsp"> <i
							class="glyphicon glyphicon-lock" class="tele"> </i>REGISTER
					</a></li>
					<%
						}
					%>
				</ul>
				<div class="clearfix"></div>
			</div>
		</div>
	</div>
	<div class="header header5">
		<div class="header-top">

			<div class="header-bottom">
				<div class="container">
					<div class="logo">
						<h1>
							<a href="index.jsp">I-<span>wear</span></a>
						</h1>
					</div>
					<!---->

					<div class="top-nav">
						<ul class="memenu skyblue">
							<li class="active"><a href="<%=path%>/index.jsp">首页</a></li>
							<li class="grid"><a href="#">男性</a>
								<div class="mepanel">
									<div class="row">
										<div class="col1 me-one">
											<h4>品类</h4>
											<ul>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllT&type=太阳眼镜&kind=男性">太阳眼镜</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllT&type=时尚风镜&kind=男性">时尚风镜</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllT&type=经典护目镜&kind=男性">经典护目镜</a></li>

											</ul>
										</div>
										<div class="col1 me-one">
											<h4>款式</h4>
											<ul>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllL&label=复古&kind=男性">复古款</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllL&label=潮流&kind=男性">潮流款</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllL&label=经典&kind=男性">经典款</a></li>

											</ul>
										</div>
										<div class="col1 me-one">
											<h4>流行品牌</h4>
											<ul>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllB&brand=Levis&kind=男性">Levis</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllB&brand=Persol&kind=男性">Persol</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllB&brand=Nike&kind=男性">Nike</a></li>

											</ul>
										</div>
									</div>
								</div></li>
							<li class="grid"><a href="#">女性</a>
								<div class="mepanel">
									<div class="row">
										<div class="col1 me-one">
											<h4>品类</h4>
											<ul>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllT&type=太阳眼镜&kind=女性">太阳眼镜</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllT&type=时尚风镜&kind=女性">时尚风镜</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllT&type=经典护目镜&kind=女性">经典护目镜</a></li>

											</ul>
										</div>
										<div class="col1 me-one">
											<h4>款式</h4>
											<ul>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllL&label=复古&kind=女性">复古款</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllL&label=潮流&kind=女性">潮流款</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllL&label=经典&kind=女性">经典款</a></li>

											</ul>
										</div>
										<div class="col1 me-one">
											<h4>流行品牌</h4>
											<ul>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllB&brand=Levis&kind=女性">Levis</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllB&brand=Persol&kind=女性">Persol</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllB&brand=Nike&kind=女性">Nike</a></li>

											</ul>
										</div>
									</div>
								</div></li>
							<li class="grid"><a href="#">儿童</a>
								<div class="mepanel">
									<div class="row">
										<div class="col1 me-one">
											<h4>品类</h4>
											<ul>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllT&type=太阳眼镜&kind=儿童">太阳眼镜</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllT&type=时尚风镜&kind=儿童">时尚风镜</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllT&type=经典护目镜&kind=儿童">经典护目镜</a></li>

											</ul>
										</div>
										<div class="col1 me-one">
											<h4>款式</h4>
											<ul>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllL&label=复古&kind=儿童">复古款</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllL&label=潮流&kind=儿童">潮流款</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllL&label=经典&kind=儿童">经典款</a></li>

											</ul>
										</div>
										<div class="col1 me-one">
											<h4>流行品牌</h4>
											<ul>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllB&brand=Levis&kind=儿童">Levis</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllB&brand=Persol&kind=儿童">Persol</a></li>
												<li><a
													href="<%=path%>/ProductServlet?status=queryAllB&brand=Nike&kind=儿童">Nike</a></li>

											</ul>
										</div>
									</div>
								</div></li>
							<li class="grid"><a href="<%=path%>/Main">在线客服</a></li>
							<li class="grid"><a href="<%=path%>/NewsServlet?status=query&currentPage=0">关于我们</a></li>
							<li class="grid"><a
								href="<%=path%>/LeaveMessageServlet?status=all&currentPage=0">留言板</a></li>
						</ul>
						<div class="clearfix"></div>
						<div class="clearfix"></div>
						<!---->
					</div>
				</div>
				<div class="clearfix"></div>
			</div>
		</div>
	</div>
	<!---->
	<!---->
	<div class="back">
		<h2>About</h2>
	</div>
	<!---->
	<div class="container">
		<div class="box_4">
			<div class="col-md-8 about_left">
				<h3>“我喜欢我现在的风格，真实的，独特的 ”</h3>
				<img src="<%=path %>/static/images/banner.jpg" class="img-responsive" alt="">
				<p>BOLON眼镜创立于2002年，是隶属法国依视路集团旗下眼镜品牌。作为站在时尚前沿的经典，在创新中，始终保持至臻优雅的风格品味。

				</p>
				<div class="faqs">
					<h4>为什么选择我们</h4>
					<div class="questions">
						<h5>1.代言故事</h5>
						<p>2017年，BOLON携手安妮
							海瑟薇，悦享真我欣赏每个人的独特风格，将时代经典与现代艺术融为一体。是经典时尚的真实演绎更是个人风格的上佳搭配。尽享品质生活，
							尽显摩登优雅。</p>
					</div>

					<div class="questions">
						<h5>2.极致工艺</h5>
						<p>精妙卡槽工艺，进口超弹薄钢，激光精密切割成型，厚度仅为0.6mm，更具纤薄，更具弹性。在原本纤薄的镜片及板材上，开凿凹槽将金属镜框镶嵌其中，贴合度容不下丝毫偏差，错综复杂的精妙构造与内心深处对美的渴望相映成辉。

						</p>
					</div>
				</div>
			</div>
			<div class="col-md-4 sidebar">
				<h3>时事新闻</h3>
				<%
				PageResults<News> pageResults = (PageResults) request.getAttribute("pageResults");
				List<News> newsList = pageResults.getResults();
				if (newsList != null) {
					for (int i = 0; i < newsList.size(); i++) {
				%>
				<div class="testimonials">
					<h5><%=newsList.get(i).getTitle()%><span></span>
					</h5>
					<p><%=newsList.get(i).getPublishTime() %></p>
					<p>
						<span class="quotes"></span><%=newsList.get(i).getContent()%><span
							class="quotes-down"></span>
					</p>
				</div>
				<%
					}
				}
				%>
				</br>
				</br>
				
				<table width="90%" border="0" align="center" cellpadding="3"
							cellspacing="0" id="page">
							<tr>
								<td align="right">共有新闻
									${requestScope.pageResults.getTotalCount()}条 第
									${requestScope.pageResults.getCurrentPage()}/
									${requestScope.pageResults.getPageCount()}页 <a
									href="<%=path%>/NewsServlet?status=query&currentPage=0"
									id="begin">首页</a> <a
									href="<%=path%>/NewsServlet?status=query&currentPage=${requestScope.pageResults.getCurrentPage()-1}"
									id="pre">上一页</a> <a
									href="<%=path%>/NewsServlet?status=query&currentPage=${requestScope.pageResults.getPageNo()}"
									id="next">下一页</a> <a
									href="<%=path%>/NewsServlet?status=query&currentPage=${requestScope.pageResults.getPageCount()}"
									id="end">末页</a>
								</td>
							</tr>
						</table>
			</div>
			
			<div class="clearfix"></div>
		</div>

	</div>

	<!---->
	<div class="bottom-grid1">

		<div class="fit1">
			<h3>HAPPY SHOPPING</h3>
			<p>“I LIKE MY STYLE, BE REAL,BE UNIQUE.”</p>
		</div>
	</div>
	<!---->
	<script type="text/javascript">
		$(document).ready(function() {
			/*
			var defaults = {
			containerID: 'toTop', // fading element id
			containerHoverID: 'toTopHover', // fading element hover id
			scrollSpeed: 1200,
			easingType: 'linear' 
			};
			 */
			$().UItoTop({
				easingType : 'easeOutQuart'
			});
		});
	</script>
	<a href="#to-top" id="toTop" style="display: block;"> <span
		id="toTopHover" style="opacity: 1;"> </span></a>
	<!---->
	<!---->
</body>
</html>